package cn.cloud9;

import cn.cloud9.auth.server.EnableAuthServer;
import cn.cloud9.user.annotation.EnableLoginArgResolver;
import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.units.qual.A;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author OnCloud9
 * @description
 * @project Open-Authcenter
 * @date 2022年04月17日 20:33
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableAuthServer
@EnableFeignClients(value = { "cn.cloud9",})
@Slf4j
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
@EnableLoginArgResolver
public class OpenAuthServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(OpenAuthServerApplication.class, args);
    }
}
